﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Brand_Edit.aspx.cs" Inherits="page_Brand_Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <base target="_self" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript">   
        
        function Check()
        {
            if(document.getElementById("txtCHName").value == "")
            {
                alert("品牌中文名称不能为空！");
                return false;
            }
            if(document.getElementById("txtENName").value == "")
            {
                alert("品牌英文名称不能为空！");
                return false;
            }
        }
              
    </script>

</head>
<body>
    <center>
        <form id="form1" runat="server">
        <br />
        <div style="text-align: center">
            <table style="width: 96%; background-color: #85BDE2; vertical-align: middle;" border="0px"
                cellpadding="0px" cellspacing="1px">
                <td colspan="2" style="background-color: #DAE7F8; height: 30px;">
                    <strong>品牌信息</strong>
                </td>
                </tr> </tr>
                <tr style="background-color: #DAE7F8; height: 20px">
                    <td style="width: 114px; height: 21px; text-align: right">
                        <span style="font-size: 10pt">品牌中文名称：</span>
                    </td>
                    <td style="height: 21px; text-align: left">
                        <asp:TextBox ID="txtCHName" runat="server" Enabled="true" Height="15px" Width="274px"></asp:TextBox>
                        <asp:CheckBox ID="cbIsSelf" runat="server" Text="自销" Visible="false"/>
                    </td>
                </tr>
                <tr style="background-color: #DAE7F8; height: 20px">
                    <td style="width: 114px; height: 21px; text-align: right">
                        <span style="font-size: 10pt">品牌英文名称：</span>
                    </td>
                    <td style="height: 21px; text-align: left">
                        <asp:TextBox ID="txtENName" runat="server" Height="15px" Width="274px"></asp:TextBox>
                    </td>
                </tr>
                <tr style="background-color: #DAE7F8;">
                    <td style="height: 24px; text-align: right; width: 114px;">
                        <span style="font-size: 10pt">品牌Logo：</span>
                    </td>
                    <td style="font-size: 9pt; height: 24px; text-align: left">
                        <asp:Image ID="Image1" runat="server" Height="88px" Width="172px" /><br />
                        <input id="File1" runat="server" style="width: 275px" type="file" />&nbsp;
                    </td>
                </tr>
                <tr style="background-color: #DAE7F8;">
                    <td style="height: 16px; text-align: right; width: 114px;">
                        <span style="font-size: 10pt">&nbsp;品牌简介：</span>
                    </td>
                    <td style="font-size: 9pt; height: 16px; text-align: left">
                        <asp:TextBox ID="txtIntroduce" runat="server" Height="50px" Width="274px"></asp:TextBox>
                    </td>
                </tr>
                <tr style="background-color: #DAE7F8; font-size: 9pt;">
                    <td style="height: 53px; text-align: right; width: 114px;">
                        <span style="font-size: 10pt">品牌备注:</span>
                    </td>
                    <td style="height: 53px; text-align: left">
                        <asp:TextBox ID="txtRemark" runat="server" Height="44px" TextMode="MultiLine" Width="273px"></asp:TextBox>
                    </td>
                </tr>
                <tr style="background-color: #DAE7F8; font-size: 9pt; height: 20px">
                    <td>
                    </td>
                    <td align="left">
                        <asp:Button ID="btnSave" runat="server" Width="90px" Height="22px" Text="保 存" OnClientClick="return Check()"
                            OnClick="btnSave_Click" />
                        &nbsp;
                        <asp:Button ID="btnchanle" runat="server" Width="90px" Height="22px" Text="取　消" OnClick="btnchanle_Click" />
                    </td>
                </tr>
                <tr style="background-color: #DAE7F8;">
                    <td colspan="2">
                        <input id="hAction" runat="server" type="hidden" />
                        <input id="hID" runat="server" type="hidden" />
                    </td>
                </tr>
            </table>
        </div>
        </form>
    </center>
</body>
</html>
